﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CONEK911Manager.DAO;
using CONEK911Manager.DTO;

namespace CONEK911Manager.BUS
{
    class OrderDetailBUS
    {
        readonly OrderDetailDAO _orderDetailDao = new OrderDetailDAO();
        public bool AddOrderDetail(OrderDetailDTO detail)
        {
            return _orderDetailDao.AddOrderDetail(detail);
        }
        public List<OrderDetailDTO> GetAllOrderDetail()
        {
            return _orderDetailDao.GetAllOrderDetail();
        }
    }
}
